package cn.wanho.dto;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 简答题和程序大题
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ExamBigSubject implements Serializable {
    /**
    * 简答和程序题(大题)
    */
    private Long id;

    /**
    * 排序
    */
    private Integer sort;

    /**
    * 题目内容
    */
    private String content;

    /**
    * 答案
    */
    private String answer;

    /**
    * 分值
    */
    private Integer score;

    /**
    * 是否可用
    */
    private Byte isFlag;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public ExamBigSubject(String content,String answer,Integer score) {
        this.content = content;
        this.answer = answer;
        this.score = score;
    }
}